package com.shgsh.server.test;

import com.alibaba.fastjson.JSON;
import com.shgsh.server.client.YQClient;
import com.shgsh.server.model.IMMessage;
import com.shgsh.server.model.IMUser;

import java.io.*;
import java.net.Socket;

/**
 * Created by jessy on 2015/4/12.
 */
public class Client {
    public static final String IP_ADDR = "localhost";
    public static final int PORT = 8888;

    public static void main(String[] a) {

        for(int i=1;i<10;i++) {
            IMUser user = new IMUser();
            user.setUsername("i");
            user.setActiveState("1");
            user.setId("1");
            user.setMessageIdList("");
            user.setLastEnterTime("2015-08-03");
            user.setOperation("");
            new YQClient("1").sendLoginInfo(user);
        }
    }
}
